package com.jihu.mall.product.vo;

import com.jihu.mall.product.entity.SkuImagesEntity;
import com.jihu.mall.product.entity.SkuInfoEntity;
import com.jihu.mall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @author jihu
 * @date 2021/4/5
 */
@Data
public class SkuItemVo {

    //1.sku基本信息获取 pms_sku_info
    private SkuInfoEntity info;

    private Boolean hasStock = Boolean.TRUE;

    //2.sku的图片信息 pms_sku_image
    private List<SkuImagesEntity> images;

    //3.获取spu的销售属性组合
    private List<SkuItemSaleAttrsVo> saleAttr;

    //4.获取spu的介绍
    private SpuInfoDescEntity desp;

    //5.获取spu的规格参数信息
    private List<SpuItemAttrGroupVo> groupAttrs;

}
